package com.hckjsec.website.domain.view;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class WebSiteSpecialHomeData {
    //标题
    private String name;
    //图片
    private String img;
    //url
    private String url;
    //时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date time;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
